using DotPowerJob.Requests;
using DotPowerJob.Responses;
using System.Threading;
using System.Threading.Tasks;

namespace DotPowerJob
{
    public interface ITaskExecutor
    {
        string GlueType { get; }

        Task<PowerJobResponse> Execute(ServerScheduleJobRequest triggerParam, CancellationToken cancellationToken);
    }
}